<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Travian辅助</title>
	<meta name="keywords" content="淮阳网站建设|周口网站建设">
	<meta name="description" content="淮阳网站建设|周口网站建设">
    <meta content="telephone=no" name="format-detection">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="renderer" content="webkit"><!--双引擎浏览器默认webkit打开-->
	<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
	<meta name="full-screen" content="yes">
	<link rel="stylesheet" href="__RES__/css/xcConfirm.css">
    <link rel="stylesheet" href="__RES__/css/uikit1.css">
    <script type="text/javascript" src="__RES__/js/jquery.js"></script>
    <script type="text/javascript" src="__RES__/js/xcConfirm.js"></script>
    <script type="text/javascript" src="__RES__/js/uikit.js"></script>
	
	<style>
	body{ padding:10px;}
	.active{color:#e4392a; border-bottom:3px solid #e4392a;}
	#my-id{ height:600px; line-height:1.8em;}
	#msg1,#msg1{ width:50%}
	</style>
</head>
<body>
账户：
<input name="settimeout" type="text" class="uk-margin-small-top" value="15" placeholder="循环检测时间（秒）">
<div class="uk-grid">
<div class="uk-width-1-1">
村庄：
<form method="post" name="snd" action="build.php">
			<p>
	  </p>
			<p><span class="details">
            ft
			  <input type="text" class="text" name="ft" value="t1" maxlength="4">
			  ID
			  <input type="text" class="text" name="id" value="23" maxlength="4">
			</span> </p>
	  <div class="buildActionOverview trainUnits">
				
				<div class="action first">
					<div class="bigUnitSection"></div>
				  <div class="details">
						<div class="tit"><a href="#" onclick="return Travian.Game.iPopup(21,1);">方陣兵/古罗</a>
							<span class="furtherInfo">(現有： 1)</span>
						</div>								
						<div class="showCosts "><div class="clear"></div>
				    <div class="clear"></div></div>
						<span class="value">數量</span>
						<input type="text" class="text" name="t1" value="0" maxlength="4">
					</div>
					<div class="clear"></div>
		</div>
			
				<div class="action">
					<div class="bigUnitSection"></div>
				  <div class="details">
						<div class="tit"><a href="#" onclick="return Travian.Game.iPopup(22,1);">劍士/禁卫</a>
							<span class="furtherInfo">(現有： 6)</span>
						</div>								
						<div class="showCosts "><div class="clear"></div>
				    <div class="clear"></div></div>
						<span class="value">數量</span>
						<input type="text" class="text" name="t2" value="0" maxlength="4">
					</div>
					<div class="clear"></div>
				</div>
			
			</div>
</form>
<div class="uk-panel uk-panel-box">
  <button class="uk-button uk-button-primary" type="button" id="start_task" onClick="startBot()">开始造兵</button> 
<button class="uk-button uk-button-primary" type="button" id="start_task">停止任务</button>
<button class="uk-button uk-button-primary" type="button" id="test">测试按钮</button>
</div></div>
</div>
</body>
<script>
var uid = $('#userinfo').attr('data-uid');
var settimeout;
function timeb(timeb){
  times = timeb.split(':'); //times倒计时数组（小时，分钟，秒）
  timesec = (times[0]*3600+times[1]*60+times[2]*1); //timesec是倒计时 毫秒
  return timesec;
}

function startBot(){
	    var formData = $("form").serialize();
		$.ajax({
		url: "http://t4.crusadertrav.eu/build.php",
		type: 'post',
		cache:false, 
		data: formData,
		dataType: 'json',
		success: function(json) {
			
		}
    	});	


	}
</script>
</html>